package com.ruoyi.pos.domain.dto.device.request;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * 设备自动注册请求DTO
 * 
 * @author ruoyi
 * @date 2025-01-30
 */
@Data
@ApiModel(description = "设备自动注册请求")
public class DeviceAutoRegisterRequest {

    @ApiModelProperty(value = "设备编码")
    private String deviceCode;

    @ApiModelProperty(value = "设备名称")
    private String deviceName;

    @ApiModelProperty(value = "设备类型")
    private String deviceType;

    @ApiModelProperty(value = "Android设备唯一标识", required = true)
    @NotBlank(message = "Android ID不能为空")
    private String androidId;

    @ApiModelProperty(value = "系统版本")
    private String systemVersion;

    @ApiModelProperty(value = "IP地址")
    private String ipAddress;

    @ApiModelProperty(value = "MAC地址")
    private String macAddress;

    @ApiModelProperty(value = "固件版本")
    private String firmwareVersion;

    @ApiModelProperty(value = "Android版本")
    private String androidVersion;

    @ApiModelProperty(value = "设备型号")
    private String deviceModel;

    @ApiModelProperty(value = "制造商")
    private String manufacturer;

    @ApiModelProperty(value = "屏幕分辨率")
    private String screenResolution;

    @ApiModelProperty(value = "存储容量")
    private String storageCapacity;

    @ApiModelProperty(value = "内存容量")
    private String memoryCapacity;

    @ApiModelProperty(value = "应用版本号")
    private String appVersion;

    @ApiModelProperty(value = "应用构建号")
    private String appBuildNumber;

    @ApiModelProperty(value = "注册时间")
    private java.util.Date registerTime;

    @ApiModelProperty(value = "备注")
    private String remark;
}
